Optimal. Leaf size=25 \[ -\frac {b (b \sec (e+f x))^{n-1}}{f (1-n)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2622, 30} \[ -\frac {b (b \sec (e+f x))^{n-1}}{f (1-n)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2622
Rubi steps
\begin {align*} \int (b \sec (e+f x))^n \sin (e+f x) \, dx &=\frac {b \operatorname {Subst}\left (\int x^{-2+n} \, dx,x,b \sec (e+f x)\right )}{f}\\ &=-\frac {b (b \sec (e+f x))^{-1+n}}{f (1-n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 22, normalized size = 0.88 \[ \frac {b (b \sec (e+f x))^{n-1}}{f (n-1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 28, normalized size = 1.12 \[ \frac {\left (\frac {b}{\cos \left (f x + e\right )}\right )^{n} \cos \left (f x + e\right )}{f n - f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \sec \left (f x + e\right )\right )^{n} \sin \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 120, normalized size = 4.80 \[ \frac {\frac {{\mathrm e}^{n \ln \left (\frac {b \left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{1-\left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}\right )}}{f \left (-1+n \right )}-\frac {\left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right ) {\mathrm e}^{n \ln \left (\frac {b \left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{1-\left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}\right )}}{f \left (-1+n \right )}}{1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 28, normalized size = 1.12 \[ \frac {b^{n} \cos \left (f x + e\right )^{-n} \cos \left (f x + e\right )}{f {\left (n - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.19, size = 27, normalized size = 1.08 \[ \frac {\cos \left (e+f\,x\right )\,{\left (\frac {b}{\cos \left (e+f\,x\right )}\right )}^n}{f\,\left (n-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \sec {\left (e + f x \right )}\right )^{n} \sin {\left (e + f x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________